import Layout from '@/layout/index.vue'

const employee = {
  path: '/employeeStore',
  component: Layout,
  redirect: '/deliveryman',
  meta: { title: '员工管理', icon: 'employee' },
  children: [
    {
      path: '/deliveryman',
      name: '',
      component: () => import('@/views/employee/deliveryman/deliveryman.vue'),
      meta: { title: '快递员管理' }
    },
    {
      path: '/scope-del',
      name: '',
      component: () => import('@/views/employee/deliveryman/components/scopeDel.vue'),
      meta: { title: '作业范围分配' },
      hidden: true
    },
    {
      path: '/chauffeur',
      name: '',
      component: () => import('@/views/employee/chauffeur/chauffeur.vue'),
      meta: { title: '司机管理' }
    },
    {
      path: '/chauffeur-detail',
      name: '',
      component: () => import('@/views/employee/chauffeur/components/chauffeurDetail/chauffeurDetail.vue'),
      meta: { title: '司机详情' },
      hidden: true
    },
    {
      path: '/scheduling',
      name: '',
      component: () => import('@/views/employee/scheduling/workArrange-manage.vue'),
      meta: { title: '排班管理' }
    }
  ]
}

export default employee
